﻿using DocumentFormat.OpenXml;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Ricebird.Wordprocessing
{
    public enum FontSize : int
    {
        ch初号 = 84,
        xc小初 = 72,
        yh一号 = 52,
        xy小一 = 48,
        eh二号 = 44,
        xe小二 = 36,
        sh三号 = 32,
        xs小三 = 30,
        sh四号 = 28,
        xs小四 = 24,
        hh五号 = 21,
        xh小五 = 18,
        lh六号 = 15,
        xl小六 = 13,
        qh七号 = 11,
        bh八号 = 10
    }
    
    /// <summary>
    /// 文字对齐样式
    /// </summary>
    public enum TextAlign
    {
        /// <summary>
        /// 左对齐
        /// </summary>
        Left,
        /// <summary>
        /// 居中
        /// </summary>
        Center,
        /// <summary>
        /// 右对齐
        /// </summary>
        Right,
        /// <summary>
        /// 两端对齐
        /// </summary>
        Both,
        /// <summary>
        /// 分散对齐
        /// </summary>
        Distribute,
        /// <summary>
        /// 与列表选项卡对齐
        /// </summary>
        NumTab,
        HighKashida,
        LowKashida,
        MediumKashida,
        Start,
        End,
        /// <summary>
        /// 泰语专用
        /// </summary>
        ThaiDistribute
    }

    public enum UnderlineStyle
    {
        Single,
        Words,
        Double,
        Thick,
        Dotted,
        DottedHeavy,
        Dash,
        DashedHeavy,
        DashLong,
        DashLongHeavy,
        DotDash,
        DashDotHeavy,
        DotDotDash,
        DashDotDotHeavy,
        Wave,
        WavyHeavy,
        WavyDouble,
        None
    }
}
